package com.carrental.api.pms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.time.LocalTime;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.carrental.common.core.domain.BaseEntity;

/**
 * 线下网点对象 pms_store
 *
 * @author liangyi
 * @date 2022-03-20
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("pms_store")
public class PmsStore extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 网点id
     */
    @TableId(value = "store_id")
    private Long storeId;
    /**
     * 所在城市id
     */
    private String cityId;
    /**
     * 门店负责人id
     */
    private Long managerId;
    /**
     * 经度
     */
    private String longitude;
    /**
     * 纬度
     */
    private String latitude;
    /**
     * 经纬度
     */
    private String position;
    /**
     * 门店名字
     */
    private String storeName;
    /**
     * 联系电话
     */
    private String telephone;
    /**
     * 联系邮箱
     */
    private String email;
    /**
     * 门店地址
     */
    private String address;
    /**
     * 营业开始时间
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime openHour;
    /**
     * 营业结束时间
     */
    @JsonFormat(pattern = "HH:mm:ss")
    private LocalTime closeHour;
    /**
     * 删除人标识[外键]
     */
    private Long deletedId;
    /**
     * 删除时间
     */
    private LocalDateTime deletedTime;
    /**
     * 是否删除
     */
    private Boolean isDeleted;
    /**
     * 是否启用
     */
    private Integer isEnabled;

}
